package com.zhang.apipassenger.remote;

import com.zhang.internalcommon.dto.ForecastPrceDTO;
import com.zhang.internalcommon.dto.ResponseResult;
import com.zhang.internalcommon.response.ForecastPriceResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("service-price")
public interface ServicePriceClient {

	@PostMapping("/forecast-price")
	public ResponseResult<ForecastPriceResponse> forecastPrice(@RequestBody ForecastPrceDTO forecastPrceDTO);
}
